package com.gitee.randomobject.domain;

import lombok.Data;
import org.springframework.security.core.GrantedAuthority;

@Data
public class SysRole implements GrantedAuthority {

    private int id;

    private int userId;

    private String role;

    @Override
    public String getAuthority() {
        return role;
    }

}
